/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package id3;

import java.io.IOException;
import java.util.ArrayList;

/**
 *
 * @author Nur Adi Susliawan
 */
public class id3 {

    public static void main(String[] args) throws IOException {
        ArrayList<Record> records;
        ArrayList<Record> testrecords;
        ArrayList<String> hasilInferensi;
        records = InputFile.buildRecords("D:/My Kuliah/Informatics/Semester 7/Topik Khusus 2/Tugas/Project/machine-learning-topsus/data/balance-scale.data.txt");
        //Utility.attributeDetails.clear();
        //testrecords = InputFile.buildRecords("D:/My Kuliah/Informatics/Semester 7/Topik Khusus 2/Tugas/Project/machine-learning-topsus/data/balance-scale.data.txt");
        testrecords = records;
        Tree t = new Tree(records, testrecords);
        t.classify();
        

    }
}
